package com.nfw.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@MapperScan({"com.nfw.demo.dao","com.nfw.demo.mapper"})

public class DemoApplication {

    public static void main(String[] args) {

     //   UserServiceImpl userService = new UserServiceImpl() ;

     //   System.out.println(userService.getname());
       SpringApplication.run(DemoApplication.class, args);
    }

}
